package ru.ifmo.croak.impl.remoting.query.team3;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Interface for the remote QueryServerMain.
 * 
 * @author Arina Afanasyeva
 */
public interface RemoteServer extends Remote {

	/**
	 * Satisfies the specified query.
	 *
     * @param query
     *            the query to be satisfied
     */
	public ServerQuery createServerQuery(RemoteMessageQuery query) throws RemoteException;
}
